package com.team11.server.pojo.student;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalTime;
import java.util.Date;

/**
 * @author DuKang
 * @Date 2021/7/9 15:38
 * @Desc:
 * @Version: 1.0
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="项目课程表对象", description="")
public class ProjectCourse {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "上课id")
    @TableId(value = "sk_id", type = IdType.AUTO)
    private Integer skId;

    @ApiModelProperty(value = "日期")
    @TableField("kc_date")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "Asia/Shanghai")
    private Date kcDate;

    @ApiModelProperty(value = "项目名称")
    @TableField("kc_name")
    private String kcName;

    @ApiModelProperty(value = "实训老师")
    private String sxtName;

    @ApiModelProperty(value = "责任老师")
    private String zrtName;

    @ApiModelProperty(value = "签到时间")
    @TableField("kc_in_time")
    @JsonFormat(pattern = "HH:mm:ss", timezone = "Asia/Shanghai")
    private LocalTime kcInTime;

    @ApiModelProperty(value = "签退时间")
    @TableField("kc_out_time")
    @JsonFormat(pattern = "HH:mm:ss", timezone = "Asia/Shanghai")
    private LocalTime kcOutTime;

    @ApiModelProperty(value = "教室")
    @TableField("kc_classroom")
    private String kcClassroom;

    @ApiModelProperty(value = "备注")
    @TableField("kc_remarks")
    private String kcRemarks;
}
